package net.maiworld.myshop.web.admin.service.impl;

import net.maiworld.myshop.domain.User;
import net.maiworld.myshop.web.admin.dao.UserDao;
import net.maiworld.myshop.web.admin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao ;

    public User login(String email, String password) {

        return userDao.getUser(email, password);
    }
}
